package com.weishu.core.service.impl;

import com.weishu.core.entity.TbRoomReservation;
import com.weishu.core.mapper.TbRoomReservationMapper;
import com.weishu.core.service.ITbRoomReservationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 预约房源表 服务实现类
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Service
public class TbRoomReservationServiceImpl extends ServiceImpl<TbRoomReservationMapper, TbRoomReservation> implements ITbRoomReservationService {
    @Autowired
    TbRoomReservationMapper tbRoomReservationMapper;

    @Override
    public List<TbRoomReservation> selectRoomList(TbRoomReservation tbRoomReservation) {
        return tbRoomReservationMapper.selectRoomList(tbRoomReservation);
    }
}
